import axios from 'axios';

// 登录请求方法
const loginreq = (method, url, params) => {
    return axios({
        method: method,
        url: url,
        data: params,
    })
};
// 通用公用方法
const req = (method, url, params) => {
    return axios({
        method: method,
        url: url,
        data: params,
    })
};

export {
    loginreq,
    req
}
